home *** CD-ROM | disk | FTP | other *** search
- NAME
- AuEncode - encode a binary file in text-only format for
- transmission via electronic mail.
-
- SYNOPSIS
-
- AuEncode <infile >outfile [filename] [options]
-
- DESCRIPTION
-
- The Amiga-Usenet Encode program will read a source file and encode
- the raw binary data as printable ascii characters. For the most
- part, the encoded file will not be mangled by transmission via
- electronic mail (we can recover from most typical Email mangling).
- Thus, binary files may be safely sent via Email.
-
- Usage: AuEncode [<infile] [>outfile] [filename] [options]
-
- where [<infile] = redirected input. AuEncode reads from
- standard input (stdin).
-
- [>outfile] = redirected output. AuEncode writes encoded
- output to standard output (stdout).
-
- [filename] = specify the encoded filename. Uuencoded
- files contain a default target filename,
- which is generally the same as the name of
- the original input file. The uuDEcoding
- program will use this name as the default
- output filename. If you do not specify a
- filename, AuEncode will assign one for you
- ("AuEncode.out").
-
- [options] = command line switches, listed below.
-
- AuEncode acts as a filter, reading from standard input, processing
- the input stream, and writing the result to standard output.
-
- OPTIONS
-
- -? or -h = display a help message to stdout. The help text may be
- redirected to a file or piped to More.
-
- -b<bufrsize> = set the size of the input buffer. The output buffer
- size will be adjusted accordingly.
-
- Note that the program will recalculate the input buffer
- size using your supplied value as an upper bound. This
- is because there is a fixed number of bytes encoded per
- output line, and it is most efficient to read a
- multiple of that fixed number. For example, a
- <bufrsize> value of 1024 bytes will become 990 bytes
- (the default).
-
- The size of the output buffer is calculated based on the
- actual size of the input buffer.
-
- -m<mode> = file mode. Unix systems use this to indicate
- read/write/execute file protections. Enter <mode> as a
- C style octal numeric value (i.e., with a leading
- zero). The default value is 0644.
-
- -s = status display. The encoder will display the converted
- byte count (via stderr, not stdout) as encoding
- progresses.
-
- NOTES
-
- The encoded file is approximately 40% larger than the original.
- This is because each output byte contains only six bits worth of
- original information. Every three original bytes are stored in
- four encoded bytes. The encoded data is also stored as lines of
- text. Each line contains a length byte, a checksum byte, and a
- newline character. It all adds up.
-
- REFERENCES
-
- AuDecode
- uuencode
- uudecode
-
- ----------------------------------------------------------------------------
-
- $Log: AuEncode.DOC,v $
- Revision 1.2 94/02/15 21:47:19 CRH
- AuEncode document file.
-
- Revision 1.1 93/09/15 21:45:07 CRH
- Initial revision
-
- ----------------------------------------------------------------------------
-